home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Periodicals / develop / develop 7 code / Futures / TESample.make < prev    next >
Encoding:
Text File  |  1991-10-10  |  2.3 KB  |  72 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple TextEdit Sample Application
  5. #
  6. #    TESample
  7. #
  8. #    [C]TESample.make    -    Make Source
  9. #
  10. #    Copyright © Apple Computer, Inc. 1989-1990
  11. #    All rights reserved.
  12. #
  13. #    Versions:    
  14. #                1.00                08/88
  15. #                1.01                11/88
  16. #                1.02                04/89    MPW 3.1
  17. #                1.03                02/90    MPW 3.2
  18. #
  19. #    Components:
  20. #                TESample.p            Feb.  1, 1990
  21. #                TESample.c            Feb.  1, 1990
  22. #                TESampleGlue.a        Feb.  1, 1990
  23. #                TESample.r            Feb.  1, 1990
  24. #                TESample.h            Feb.  1, 1990
  25. #                [P]TESample.make    Feb.  1, 1990
  26. #                [C]TESample.make    Feb.  1, 1990
  27. #
  28. #    TESample is an example application that demonstrates how 
  29. #    to initialize the commonly used toolbox managers, operate 
  30. #    successfully under MultiFinder, handle desk accessories and 
  31. #    create, grow, and zoom windows. The fundamental TextEdit 
  32. #    toolbox calls and TextEdit autoscroll are demonstrated. It 
  33. #    also shows how to create and maintain scrollbar controls.
  34. #
  35. #    It does not by any means demonstrate all the techniques you 
  36. #    need for a large application. In particular, Sample does not 
  37. #    cover exception handling, multiple windows/documents, 
  38. #    sophisticated memory management, printing, or undo. All of 
  39. #    these are vital parts of a normal full-sized application.
  40. #
  41. #    This application is an example of the form of a Macintosh 
  42. #    application; it is NOT a template. It is NOT intended to be 
  43. #    used as a foundation for the next world-class, best-selling, 
  44. #    600K application. A stick figure drawing of the human body may 
  45. #    be a good example of the form for a painting, but that does not 
  46. #    mean it should be used as the basis for the next Mona Lisa.
  47. #
  48. #    We recommend that you review this program or Sample before 
  49. #    beginning a new application. Sample is a simple app. which doesn’t 
  50. #    use TextEdit or the Control Manager.
  51. #
  52. #     You can define {SymOptions} as "-sym on" or "-sym off" for use with SADE
  53. #     We also recommend requiring prototypes for all functions
  54. COptions = -r {SymOptions}
  55.  
  56. CObjs    =    TESample.c.o ∂
  57.             TESampleGlue.a.o ∂
  58.             "{Libraries}"Runtime.o ∂
  59.             "{Libraries}"Interface.o ∂
  60.             "{CLibraries}"StdCLib.o ∂
  61.             Threads.o ∂
  62.             Futures.o
  63.  
  64.  
  65. TESample        ƒƒ {CObjs} TESample.make
  66.         Link -o {Targ} {CObjs} {SymOptions}
  67.         SetFile {Targ} -t APPL -c 'MOOT' -a B
  68.  
  69. TESample        ƒƒ TESample.r TESample.h TESample.make
  70.         Rez -rd -append -o {Targ} TESample.r
  71.  
  72. TESample.c.o    ƒƒ TESample.c TESample.make